"""
@author: Zhang Wenzhou
@file: response.py
@time: 2023/3/3 0003 11:45:09
"""
# 成功状态码 -- 0

def response_data(code=0, message="success!", data=None):
    return {
        "code": code,
        "message": message,
        "data": data
    }